package L1;

import java.io.IOException;
import java.util.Scanner;

public class _090 {
    /**
     * 什么是机器学习
     */
    public static void main(String[] args) throws IOException {
        Scanner scanner = new Scanner(System.in);
        int A = scanner.nextInt();
        int B = scanner.nextInt();
        int sum = A+B;
        System.out.println(sum-16);
        System.out.println(sum-3);
        System.out.println(sum-1);
        System.out.println(sum);
    }
}
